NewGrid Interface

public interface NewGrid

Module Procedures

private subroutine NewGridFloatFromFile(layer, fileName, fileFormat, variable, stdName, time)

read a grid from a file. List of supported format: ESRI_ASCII: ESRI ASCII GRID ESRI_BINARY: ESRI BINARY GRID NET_CDF: NetCDF CF compliant

Arguments

Type IntentOptional Attributes Name
type(grid_real), intent(out) :: layer

gridreal to return

character(len=*), intent(in) :: fileName

file to read

integer(kind=short), intent(in) :: fileFormat

format of the file to read

character(len=*), intent(in), optional :: variable

variable to read

character(len=*), intent(in), optional :: stdName

standard name of the variable to read

type(DateTime), intent(in), optional :: time

time of the grid to read

private subroutine NewGridIntegerFromFile(layer, fileName, fileFormat, variable, stdName, time)

read a grid from a file.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grid_integer), intent(out) :: layer

grid to be returned

character(len=*), intent(in) :: fileName

file to read

integer(kind=short), intent(in) :: fileFormat

format of the file to read

character(len=*), intent(in), optional :: variable

variable to read

character(len=*), intent(in), optional :: stdName

standard name of the variable to read

type(DateTime), intent(in), optional :: time

time of the grid to read

private subroutine NewGridFloatAsGridFloat(layer, grid, initial)

create a new grid_real using an existing grid_real as template

Arguments

Type IntentOptional Attributes Name
type(grid_real), intent(out) :: layer

grid to be returned

type(grid_real), intent(in) :: grid
real(kind=float), intent(in), optional :: initial

private subroutine NewGridFloatAsGridInteger(layer, grid, initial)

create a new grid_real using an existing grid_integer as template

Arguments

Type IntentOptional Attributes Name
type(grid_real), intent(out) :: layer

gridreal to return

type(grid_integer), intent(in) :: grid
real(kind=float), intent(in), optional :: initial

private subroutine NewGridIntegerAsGridInteger(layer, grid, initial)

create a new grid_integer using an existing grid_integer as template

Arguments

Type IntentOptional Attributes Name
type(grid_integer), intent(out) :: layer

grid to be returned

type(grid_integer), intent(in) :: grid
integer, intent(in), optional :: initial

private subroutine NewGridIntegerAsGridFloat(layer, grid, initial)

create a new grid_integer using an existing grid_real as template

Arguments

Type IntentOptional Attributes Name
type(grid_integer), intent(out) :: layer

grid to be returned

type(grid_real), intent(in) :: grid
integer, intent(in), optional :: initial